package com.vecspace.httpclient;


public class HttpException extends Exception{
	private static final long serialVersionUID = -8139911635100426615L;
	private int statusCode;
	private String message;
	private String url;
	private String formData;
	
	public HttpException(int statusCode, String message, String url, String formData){
		this.setStatusCode(statusCode);
		this.setMessage(message);
		this.setUrl(url);
		this.setFormData(formData);
	}

	public int getStatusCode() {
		return statusCode;
	}

	public void setStatusCode(int statusCode) {
		this.statusCode = statusCode;
	}
	@Override
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getFormData() {
		return formData;
	}

	public void setFormData(String formData) {
		this.formData = formData;
	}
	
	
}
